home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / pc / technical documentation / develop / develop issue 19 / develop issue 19 code / truffles sample.sea / Truffles Sample / graphics shell.h < prev   
MacBinary  |  1994-04-08  |  1.4 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Fri Apr 8 17:32:19 1994, modified Fri Apr 8 17:32:19 1994, creator Think C, type ASCII, 812 bytes "graphics shell.h" , at 0x3ac 348 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 67 72 61 70 68 69 | 63 73 20 73 68 65 6c 6c |..graphi|cs shell|
|00000010| 2e 68 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.h......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 03 2c 00 | 00 01 5c a9 cb 7d e3 a9 |......,.|..\..}..|
|00000060| cb 7d e3 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.}......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 67 98 00 00 |........|....g...|
|00000080| 2f 2a 0d 09 69 6e 74 65 | 72 66 61 63 65 73 20 66 |/*..inte|rfaces f|
|00000090| 6f 72 20 61 20 73 69 6d | 70 6c 65 2c 20 6f 6e 65 |or a sim|ple, one|
|000000a0| 2d 77 69 6e 64 6f 77 20 | 67 72 61 70 68 69 63 73 |-window |graphics|
|000000b0| 20 73 68 65 6c 6c 0d 09 | 0d 09 a9 31 39 39 30 20 | shell..|...1990 |
|000000c0| 2d 20 31 39 39 32 20 20 | 41 70 70 6c 65 20 43 6f |- 1992 |Apple Co|
|000000d0| 6d 70 75 74 65 72 2c 20 | 49 6e 63 2e 0d 09 41 6c |mputer, |Inc...Al|
|000000e0| 6c 20 72 69 67 68 74 73 | 20 72 65 73 65 72 76 65 |l rights| reserve|
|000000f0| 64 2e 0d 2a 2f 0d 0d 2f | 2a 20 74 68 65 73 65 20 |d..*/../|* these |
|00000100| 74 68 69 6e 67 73 20 61 | 72 65 20 6b 65 70 74 20 |things a|re kept |
|00000110| 75 70 2d 74 6f 2d 64 61 | 74 65 20 62 79 20 74 68 |up-to-da|te by th|
|00000120| 65 20 73 68 65 6c 6c 20 | 61 6e 64 20 6d 61 79 20 |e shell |and may |
|00000130| 62 65 20 61 63 63 65 73 | 73 65 64 20 61 74 20 61 |be acces|sed at a|
|00000140| 6e 79 20 74 69 6d 65 20 | 62 79 20 74 68 65 20 61 |ny time |by the a|
|00000150| 70 70 6c 69 63 61 74 69 | 6f 6e 2e 20 2a 2f 0d 65 |pplicati|on. */.e|
|00000160| 78 74 65 72 6e 20 57 69 | 6e 64 6f 77 50 74 72 20 |xtern Wi|ndowPtr |
|00000170| 09 09 67 57 69 6e 64 6f | 77 3b 0d 65 78 74 65 72 |..gWindo|w;.exter|
|00000180| 6e 20 45 76 65 6e 74 52 | 65 63 6f 72 64 20 09 09 |n EventR|ecord ..|
|00000190| 67 74 68 65 45 76 65 6e | 74 3b 0d 65 78 74 65 72 |gtheEven|t;.exter|
|000001a0| 6e 20 67 78 53 68 61 70 | 65 20 09 09 67 57 69 6e |n gxShap|e ..gWin|
|000001b0| 64 6f 77 42 6f 75 6e 64 | 73 53 68 61 70 65 3b 0d |dowBound|sShape;.|
|000001c0| 0d 2f 2a 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |./* the |followin|
|000001d0| 67 20 61 72 65 20 65 78 | 70 65 63 74 65 64 20 74 |g are ex|pected t|
|000001e0| 6f 20 62 65 20 69 6e 69 | 74 69 61 6c 69 7a 65 64 |o be ini|tialized|
|000001f0| 20 62 79 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 | by the |applicat|
|00000200| 69 6f 6e 20 2a 2f 0d 65 | 78 74 65 72 6e 20 52 65 |ion */.e|xtern Re|
|00000210| 63 74 20 09 09 09 67 57 | 69 6e 64 6f 77 51 44 52 |ct ...gW|indowQDR|
|00000220| 65 63 74 3b 0d 65 78 74 | 65 72 6e 20 53 74 72 32 |ect;.ext|ern Str2|
|00000230| 35 35 09 09 09 67 57 69 | 6e 64 6f 77 54 69 74 6c |55...gWi|ndowTitl|
|00000240| 65 3b 0d 0d 65 78 74 65 | 72 6e 20 42 6f 6f 6c 65 |e;..exte|rn Boole|
|00000250| 61 6e 09 09 09 67 44 65 | 62 75 67 67 69 6e 67 3b |an...gDe|bugging;|
|00000260| 0d 65 78 74 65 72 6e 20 | 42 6f 6f 6c 65 61 6e 09 |.extern |Boolean.|
|00000270| 09 09 67 47 69 76 65 4d | 65 56 61 6c 69 64 61 74 |..gGiveM|eValidat|
|00000280| 69 6f 6e 3b 0d 65 78 74 | 65 72 6e 20 6c 6f 6e 67 |ion;.ext|ern long|
|00000290| 09 09 09 67 47 72 61 70 | 68 69 63 73 48 65 61 70 |...gGrap|hicsHeap|
|000002a0| 53 69 7a 65 3b 0d 0d 2f | 2a 20 74 68 65 20 66 6f |Size;../|* the fo|
|000002b0| 6c 6c 6f 77 69 6e 67 20 | 66 75 6e 63 74 69 6f 6e |llowing |function|
|000002c0| 73 20 61 72 65 20 73 75 | 70 70 6c 69 65 64 20 62 |s are su|pplied b|
|000002d0| 79 20 74 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |y the ap|plicatio|
|000002e0| 6e 20 75 73 69 6e 67 20 | 74 68 65 20 73 68 65 6c |n using |the shel|
|000002f0| 6c 20 61 6e 64 20 61 72 | 65 20 63 61 6c 6c 65 64 |l and ar|e called|
|00000300| 20 61 74 20 74 68 65 20 | 61 70 70 72 6f 70 72 69 | at the |appropri|
|00000310| 61 74 65 20 74 69 6d 65 | 2e 20 2a 2f 0d 76 6f 69 |ate time|. */.voi|
|00000320| 64 20 44 6f 49 6e 69 74 | 69 61 6c 69 7a 61 74 69 |d DoInit|ializati|
|00000330| 6f 6e 28 57 69 6e 64 6f | 77 50 74 72 29 3b 0d 76 |on(Windo|wPtr);.v|
|00000340| 6f 69 64 20 44 6f 44 72 | 61 77 28 57 69 6e 64 6f |oid DoDr|aw(Windo|
|00000350| 77 50 74 72 29 3b 0d 76 | 6f 69 64 20 44 6f 44 69 |wPtr);.v|oid DoDi|
|00000360| 73 70 6f 73 65 28 57 69 | 6e 64 6f 77 50 74 72 29 |spose(Wi|ndowPtr)|
|00000370| 3b 0d 76 6f 69 64 20 44 | 6f 43 6c 69 63 6b 28 67 |;.void D|oClick(g|
|00000380| 78 50 6f 69 6e 74 2c 20 | 57 69 6e 64 6f 77 50 74 |xPoint, |WindowPt|
|00000390| 72 29 3b 0d 76 6f 69 64 | 20 44 6f 49 64 6c 65 28 |r);.void| DoIdle(|
|000003a0| 57 69 6e 64 6f 77 50 74 | 72 29 3b 0d 00 00 00 00 |WindowPt|r);.....|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 00 00 01 00 00 00 01 16 | 00 00 00 16 00 00 00 46 |........|.......F|
|00000410| 74 68 65 70 72 6f 66 69 | 6c 65 2e 62 6c 61 63 6b |theprofi|le.black|
|00000420| 2c 48 50 50 61 69 6e 74 | 4a 65 74 5f 43 68 72 6f |,HPPaint|Jet_Chro|
|00000430| 10 67 72 61 70 68 69 63 | 73 20 73 68 65 6c 6c 2e |.graphic|s shell.|
|00000440| 68 61 02 00 00 00 54 45 | 58 54 4b 41 48 4c 01 00 |ha....TE|XTKAHL..|
|00000450| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 00 43 00 6c |..TEXTKA|HL...C.l|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 a2 38 91 ab 00 00 | 03 2c 00 00 01 5c 61 20 |...8....|.,...\a |
|00000480| 3d 20 28 74 72 63 54 61 | 62 6c 65 20 2a 29 4e 65 |= (trcTa|ble *)Ne|
|00000490| 77 50 74 72 28 73 69 7a | 65 6f 66 28 74 72 63 54 |wPtr(siz|eof(trcT|
|000004a0| 61 62 6c 65 29 29 3b 0d | 09 74 68 65 70 72 6f 66 |able));.|.theprof|
|000004b0| 69 6c 65 2e 66 6c 61 67 | 73 20 3d 20 31 3b 0d 09 |ile.flag|s = 1;..|
|000004c0| 74 68 65 70 72 6f 66 69 | 6c 65 2e 61 6c 69 67 6e |theprofi|le.align|
|000004d0| 49 6c 6c 75 6d 69 6e 61 | 6e 74 20 3d 20 31 3b 0d |Illumina|nt = 1;.|
|000004e0| 09 74 68 65 70 72 6f 66 | 69 6c 65 2e 69 6c 6c 75 |.theprof|ile.illu|
|000004f0| 6d 69 6e 61 6e 74 5b 30 | 5d 20 3d 20 30 2e 33 31 |minant[0|] = 0.31|
|00000500| 00 00 00 04 00 06 00 04 | 00 00 00 0a 00 09 06 47 |........|.......G|
|00000510| 65 6e 65 76 61 00 00 00 | 01 00 00 00 01 16 00 00 |eneva...|........|
|00000520| 00 16 00 00 00 46 00 61 | ba ec 20 b0 00 00 00 1c |.....F.a|.. .....|
|00000530| 00 46 00 01 45 54 41 42 | 00 00 00 12 45 46 4e 54 |.F..ETAB|....EFNT|
|00000540| 00 00 00 1e 03 ec ff ff | 00 00 00 00 00 61 bb 44 |........|.....a.D|
|00000550| 03 eb ff ff 00 00 00 08 | 00 61 b9 88 00 00 00 00 |........|.a......|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+